#ifndef BSP_FLASH_H
#define BSP_FLASH_H
#include "main.h"
#include "struct_typedef.h"

#define PARA_ADDR 0x0800FC00  //在63页为了最大保证程序的烧录，采用flash最后1kb


   extern uint32_t id_reading;
   uint32_t Flash_Readhalfword(uint32_t faddr);

   uint32_t Flash_ReadData(uint32_t ReadAddr);
   void Flash_WriteData(uint32_t addr, uint32_t flash_write);

	 
#endif


